package org.sky.cloud.common.task;

public class RetryDelayTask<T> extends AbstractDelayTask<T>{

    private final T msg;

    public RetryDelayTask(T msg, long delay){
        this.msg = msg;
        setTaskInterval(delay);
        setLastProcessTime(System.currentTimeMillis());
    }

    public T getMsg() {
        return msg;
    }
}
